<!DOCTYPE html>
<html lang="en">

<head>
    <title></title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <block name="style">
        <link rel="stylesheet" href="__MYCSS__/main.min.css">
    </block>
</head>
<extend name="Public/base" />
<block name="body">

    <body>
        <ol class="breadcrumb">
            <li><a href="#">财务管理</a></li>
            <li class="active">毛利表</li>
        </ol>
        <p>
            <a class="btn btn-primary" role="button" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">查询</a>
        </p>
        <div class="collapse" id="collapseExample">
            <div class="well">
                <form method="GET" action="{:U('lst')}">
                    <div class="row">
                        <div class="col-lg-3">
                            <div class="form-group">
                                <label for="exampleInputName2">客户名称</label>
                                <select class="form-control" name="khmc">
                                <option value="">--请选择--</option>
                                <volist name="khmc_arr" id="khmc">
                                    <option value="{$khmc}">{$khmc}</option>
                                </volist>
                            </select>
                            </div>
                        </div>
                        <div class="col-lg-3">
                            <div class="form-group">
                                <label for="exampleInputName2" >业务版块</label>
                                <select class="form-control" name="ywbk">
                                <option value="">--请选择--</option>
                                <volist name="ywbk_arr" id="ywbk">
                                    <option value="{$ywbk}">{$ywbk}</option>
                                </volist>
                            </select>
                            </div>
                        </div>
                        <div class="col-lg-3">
                            <div class="form-group">
                                <label for="exampleInputName2" >业务区域</label>
                                <select class="form-control" name="ywqy">
                                <option value="">--请选择--</option>
                                <volist name="ywqy_arr" id="ywqy">
                                    <option value="{$ywqy}">{$ywqy}</option>
                                </volist>
                            </select>
                            </div>
                        </div>
                        <div class="col-lg-3">
                            <div class="form-group">
                                <label for="exampleInputName2">运营商类型</label>
                                <select class="form-control" name="yyslx">
                                <option value="">--请选择--</option>
                                <volist name="yyslx_arr" id="yyslx">
                                    <option value="{$yyslx}">{$yyslx}</option>
                                </volist>
                            </select>
                            </div>
                        </div>
                        <div class="col-lg-2">
                            <div class="form-group">
                                <label for="year">所属年份：</label>
                                <select class="form-control father_select year_select" name="year">
                                <option value="">--请选择--</option>
                            </select>
                            </div>
                        </div>
                        <div class="col-lg-2">
                            <div class="form-group">
                                <label for="month">所属月份：</label>
                                <select class="form-control son_select month_select" name="month" disabled="disabled">
                                <option value="">--请选择--</option>
                            </select>
                            </div>
                        </div>
                        <div class="col-lg-3" style="margin-top: 25px;">
                            <button type="submit" class="btn btn-success">查询</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>


        <div class="panel panel-default">
            <div class="panel-heading">毛利情况表</div>

            <div class="surface_table">
                <div class="table-head">
                    <table class="table table-bordered">
                        <thead>
                            <tr class="table-h">
                                <th>所属时间</th>
                                <th>业务区域</th>
                                <th>业务板块</th>
                                <th>运营商类型</th>
                                <th>客户名称</th>
                                <th>带宽数量</th>
                                <th>业务收入</th>
                                <th>带宽成本</th>
                                <th>FTTH成本</th>
                                <th>传输成本</th>
                                <th>返款成本</th>
                                <th>毛利额</th>
                                <th>毛利率</th>
                            </tr>
                        </thead>
                    </table>
                </div>
                <div class="table-body">
                    <table class="table table-hover table-bordered">
                        <tbody>
                        <volist name="lsts" id="lst">
                            <tr>
                                <td>{$lst.sssj}</td>
                                <td>{$lst.ywqy}</td>
                                <td>{$lst.ywbk}</td>
                                <td>{$lst.yyslx}</td>
                                <td>{$lst.khmc}</td>
                                <td class="count_dksl">{$lst.dksl}</td>
                                <td class="count_ywsr">{$lst.ywsr}</td>
                                <td class="count_dkcb">{$lst.dkcb}</td>
                                <td class="count_ftthcb">{$lst.ftthcb}</td>
                                <td class="count_cscb">{$lst.cscb}</td>
                                <td class="count_fkcb">{$lst.fkcb}</td>
                                <td class="count_mle">{$lst.mle}</td>
                                <td>{$lst.mll}</td>
                            </tr>
                        </volist>
                            <tr>
                                <td colspan="5" style="text-align: center">总计</td>
                                <td id="count_dksl" class="count">带宽数量</td>
                                <td id="count_ywsr" class="count">业务收入</td>
                                <td id="count_dkcb" class="count">带宽成本</td>
                                <td id="count_ftthcb" class="count">FTTH成本</td>
                                <td id="count_cscb" class="count">传输成本</td>
                                <td id="count_fkcb" class="count">返款成本</td>
                                <td id="count_mle" class="count">毛利额</td>
                                <td></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <script src="__MYJS__/main.min.js"></script>
            <script src="__MYJS__/main.js"></script>
            <script src="__MYJS__/validator.js"></script>
            <script src="__MYJS__/table.js"></script>
            <script>
                var zdytable = new window.zdytable();
            </script>

    </body>
</block>

</html>